package com.tulele.vtool.service;

import com.tulele.vtool.model.BrandPromotionSettleInfo;

public interface IBrandPromotionSettleInfoService {

    /**
     * 处理品牌推广用户结算信息
     * @param brandPromotionSettleInfo 需要结算的用户相关信息
     * @param userChargeAmount 品牌下用户的充值金额
     * @return
     */
    int processUserPromotionSettleInfo(BrandPromotionSettleInfo brandPromotionSettleInfo, double userChargeAmount);

    /**
     * 查询品牌结算信息
     * @param brandId
     * @return
     */
    BrandPromotionSettleInfo getBrandPromotionSettleInfo(Integer brandId);

    /**
     * 更新品牌推广结算信息
     * @param brandPromotionSettleInfo
     * @return
     */
    int modifyBrandPromotionSettleInfo(BrandPromotionSettleInfo brandPromotionSettleInfo);

    /**
     * 20200519 yl
     * 通过用户id查询品牌推广结算信息
     * @param userId
     * @return
     */
    BrandPromotionSettleInfo getPromotionSettleByUserId(String userId);
}
